package application.client.gui.components;

import java.awt.Image;
import java.awt.Toolkit;
import java.io.File;
import java.net.URL;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.SwingConstants;

public class ImageLabel extends JLabel {

	private Image image = getToolkit().getImage(this.getClass().getResource("/application/client/gui/images/libman.png"));
	
	public ImageLabel()
	{
		image=image.getScaledInstance(291, 68, 0);
		setHorizontalAlignment(JLabel.LEFT);
		setVerticalAlignment(JLabel.BOTTOM);
		setIcon(new ImageIcon(image,"libman"));
		setPreferredSize(new java.awt.Dimension(300, 128));
		setSize(300, 128);
	}
}
